package Com.amit.Reflection;

class Anil
{
	void m1()
	{
		System.out.println("Amit yadav");
	}
}
public class Lab5 {
	
	public static void main(String[] args) throws Exception {
		
		
		Class c=Class.forName("Com.amit.Reflection.Anil");
		
		Anil a=(Anil) c.newInstance();
		
		a.m1();
		
		
	}

}
